<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS 动画</title>
    <style>
        div {
            width: 100px;
            height: 100px;
            border-radius: 10px;
            margin: 20px;
        }

        .box {
            background: #2db34a;
            transition-duration: 0.2s;
            transition-timing-function: linear;
        }

        .box:hover {
            background: #ff7b29;
            width: 200px;
        }

        .multiprop {
            background: #2db34a;
            border-radius: 6px;
            transition-property: backgroud, border-radius;
            transition-duration: 0.2s;
            transition-timing-function: linear;
        }

        .multiprop:hover {
            background: #ff7b29;
            border-radius: 50%;
        }

        .ease {
            background: #2db34a;
            transition-duration: 0.3s;
            transition-timing-function: ease-in;
        }

        .ease:hover {
            width: 500px;
        }

    </style>

</head>

<body>
    <h1>
        CSS 动画
    </h1>
    <section>
        <h2>transform</h2>
    </section>

    <div class="box"></div>
    <div class="multiprop"></div>
    <div class="ease"></div>

</body>

</html>
